package main.www.wonderfuldata.controller;

import main.www.wonderfuldata.PreparedStatement.PreparedStatementTest;




public class add {


    public void addBook(){
       String nameRegister = "aa";
       String passwordRegisterFirst = "123456";
        PreparedStatementTest st = new PreparedStatementTest();

        String sql = "insert into User(name,password) values(?,?)";


        //执行sql文件
        st.update(sql,nameRegister,passwordRegisterFirst);
    }

}
